home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Arsenal Files 8
/
The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO
/
pcboard
/
iemsi120.zip
/
LOGON.PPE
(
.txt
)
< prev
next >
Wrap
PCBoard Programming Language Executable
|
1996-10-19
|
2KB
|
234 lines
;------------------------------------------------------------------------------
; .ss.
; `²²'
; .,sS$Ss,,s$ .,sS$$$Ss. .,sS$Ss,,s$ .ss. .sSs.
; .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
; $$$' .$$$' $$$²Sçsµ²' .$$$' .$$$'.$$$' .$$$' `$$b.
; $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$' ;$$$
; `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
; .sS²°$$$²²°"' d²°'
; .$$² .$$'
; $$$.,d$$'
; `²S$$S²'
;------------------------------------------------------------------------------
; P.P.L.X. 2.OO (C)1996 - Lone Runner / AEGiS CoRP'96
;------------------------------------------------------------------------------
; PPE 3.2O (Encryption type I) - Analysis ON - Postprocessing ON
;------------------------------------------------------------------------------
Integer INTEGER001
String STRING003
String STRING004
String STRING005
String STRING006
String STRING007
String STRING008
String STRING009
String STRING010
String STRING011
String STRING012
String STRING013
String STRING014
String STRING015
Byte BYTE001
BigStr BIGSTR001
Declare Procedure PROC001()
;------------------------------------------------------------------------------
BYTE001 = FNext()
FOpen BYTE001, "IEMSI." + String(PcbNode()), 0, 0
If (Ferr(BYTE001)) Then
Print ReadLine(PPEPath() + "PRMT259" + LangExt(), 1)
End
Endif
FDefIn BYTE001
FDGet BIGSTR001
FDGet STRING003
FDGet STRING004
FDGet STRING005
FDGet STRING006
FDGet STRING007
FDGet STRING008
FDGet STRING009
FDGet STRING010
FDGet STRING011
FDGet STRING012
FDGet STRING013
FDGet STRING014
FDGet STRING015
FClose BYTE001
STRING003 = Upper(STRING003)
STRING008 = Upper(STRING008)
STRING005 = Upper(STRING005)
STRING013 = Upper(STRING013)
STRING011 = Upper(STRING011)
INTEGER001 = U_RecNum(Upper(STRING003))
If (INTEGER001 >= 0) Then
GetAltUser INTEGER001
If ((U_Pwd == STRING008) && (U_City == STRING005)) Then
PROC001()
PutUser
KeyFlush
KbdStuff STRING003 + ";" + STRING008
ElseIf (U_Pwd == STRING008) Then
PrintLn "@X0ETwo different addresses reported:"
PrintLn "@X0F 1 = ", STRING005
PrintLn " 2 = ", U_City
Newline
InputStr "Which one is correct (Enter)=" + STRING005, BYTE001, 14, 1, "12", 64
Newline
If (BYTE001 == 2) Then
PrintLn "@X0APlease correct this [IEMSI] information in your terminal program."
Else
U_City = STRING005
PrintLn "@X0ALocation corrected."
Endif
PROC001()
PutUser
KeyFlush
KbdStuff STRING003 + ";" + STRING008
Else
KeyFlush
KbdStuff STRING003
Endif
Else
KeyFlush
KbdStuff STRING003
Endif
End
;------------------------------------------------------------------------------
Procedure PROC001()
String STRING016
If (STRING013 <> "") Then
If (InStr(STRING013, "CLR")) Then
U_Cls = 1
Goto LABEL001
Endif
U_Cls = 0
:LABEL001
If (InStr(STRING013, "FSED")) Then
U_FSE = 1
U_FSEP = 0
Goto LABEL002
Endif
U_FSE = 0
U_FSEP = 1
Endif
:LABEL002
If (STRING011 <> "") Then
If (InStr(STRING011, "DZA")) Then
U_Trans = "Z"
Goto LABEL003
Endif
If (InStr(STRING011, "ZAP")) Then
U_Trans = "Z"
Goto LABEL003
Endif
If (InStr(STRING011, "ZMO")) Then
U_Trans = "Z"
Goto LABEL003
Endif
If (InStr(STRING011, "SLK")) Then
U_Trans = "S"
Goto LABEL003
Endif
If (InStr(STRING011, "KER")) Then
U_Trans = "K"
Endif
Endif
:LABEL003
If (STRING010 <> "") Then
STRING016 = Right(STRING010, Len(STRING010) - InStr(STRING010, ","))
BYTE001 = Left(STRING016, InStr(STRING016, ",") - 1)
Endif
EndProc
;------------------------------------------------------------------------------
;
; Usage report (before postprocessing)
;
; ■ Statements used :
;
; 2 End
; 25 Goto
; 21 Let
; 1 Print
; 5 PrintLn
; 15 If
; 1 FOpen
; 1 FClose
; 2 PutUser
; 1 InputStr
; 2 Newline
; 4 KbdStuff
; 1 FDefIn
; 14 FDGet
; 4 KeyFlush
; 1 GetAltUser
; 1 EndProc
;
;
; ■ Functions used :
;
; 8 +
; 2 -
; 4 ==
; 3 <>
; 1 >=
; 15 !
; 1 &&
; 1 Len(
; 6 Upper()
; 1 Left()
; 1 Right()
; 1 Ferr()
; 9 InStr()
; 1 String()
; 1 PPEPath()
; 1 PcbNode()
; 1 ReadLine()
; 1 LangExt()
; 1 U_RecNum()
; 1 FNext()
;
;------------------------------------------------------------------------------
;
; Analysis flags : WRH
;
; W - Write user ■ 5
; Program writes a user record. Although this may be normal for a
; User Editor, it may also be a way to modify an account level.
; ■ Search for : PUTUSER
;
; R - Read user ■ 5
; User records are read, this may signify that someone wants to get
; various informations about a user (for example his password), but
; this may also be normal for a program accessing user records (for
; example a User Editor)
; ■ Search for : GETALTUSER
;
; H - Read Password or Password History ■ 5
; Program is reading the user's password or last password history
; This may be ok for a password manager, but it is very suspect. Check!
; ■ Search for : U_PWDHIST, U_PWD
;
;------------------------------------------------------------------------------
;
; Postprocessing report
;
; 0 For/Next
; 0 While/EndWhile
; 15 If/Then or If/Then/Else
; 0 Select Case
;
;------------------------------------------------------------------------------
; AEGiS Corp - Break the routines, code against the machines!
;------------------------------------------------------------------------------